package pablo.developer;

import java.io.Serializable;

public class Vehiculo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	String plate, brand, model,color;
	boolean encontrado;
	int idUser;
	
	public Vehiculo (String matricula, String marca, String modelo, String col,boolean enc, int id){
		plate=matricula;
		brand=marca;
		model=modelo;
		color=col;
		encontrado=enc;
		idUser=id;
	}
	public Vehiculo(){
		
	}
	public static Vehiculo getEmpty() {
		return new Vehiculo("", "", "", "",false,0);
	}
	public void setPlate(String matricula){
		plate=matricula;
	}
	public String getPlate(){
		return plate;
	}
	public void setBrand(String marca){
		brand=marca;
	}
	public String getBrand(){
		return brand;
	} 
	public void setModel(String modelo){
		model=modelo;
	}
	public String getModel(){
		return model;
	}
	public void setColor(String col){
		color=col;
	}
	public String getColor(){
		return color;
	}
	public boolean getEncontrado(){
		return encontrado;
	}
	public int getIdUser(){
		return idUser;
	}
}
